package zhang.automobileservice;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.ListView;

public class WashCarActivity extends FarterActivity implements View.OnClickListener {

    private ImageView iv_movehelper;
    private ListView lv_carwash;
    private EditText et_serchInput;
    private ImageView serch;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_wash_car);
        initView();
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.iv_movehelper:
                finish();
                break;
            case R.id.serch:
                et_serchInput.getText();
                break;
        }
    }

    private void initView() {
        iv_movehelper = (ImageView) findViewById(R.id.iv_movehelper);
        iv_movehelper.setOnClickListener(this);
        lv_carwash = (ListView) findViewById(R.id.lv_carwash);
        et_serchInput = (EditText) findViewById(R.id.et_serchInput);
        et_serchInput.setOnClickListener(this);
        serch = (ImageView) findViewById(R.id.serch);
        serch.setOnClickListener(this);
    }

}
